import request from '@/api/request'

export function getExamPaperList (data) {
    return request({
        url: `/front/exam/getExamPaperList`,
        method: 'post',
        data
    })
}
export function startExam (data) {
    return request({
        url: `/front/exam/startExam`,
        method: 'post',
        data
    })
}
export function getPaperDetail (data) {
    return request({
        url: `/front/exam/getPaperDetail`,
        method: 'post',
        data
    })
}
export function startAnswerQuestion (data) {
    return request({
        url: `/front/exam/startAnswerQuestion`,
        method: 'post',
        data
    })
}
export function submitPaper (data) {
    return request({
        url: `/front/exam/submitPaper`,
        method: 'post',
        data
    })
}
export function getMyExamList (data) {
    return request({
        url: `/front/exam/getMyExamList`,
        method: 'post',
        data
    })
}